<?php
require_once("dao/DAOFactory.php");
require_once("bizlayer/IBiz.php");
 
 class ResultMgmt implements IBiz{
 	static $dao;
 	public static function initializeDao(){
 		self::$dao = DAOFactory::getDAO("result");
 	}	
 	
 	public static function getResultByYear($eventid){
 		self::initializeDao();
 		return self::$dao->getResultByYear($eventid);
 	}
 	
 	public static function getChampions(){
 		self::initializeDao();
 		return self::$dao->getChampions();
 	}
 	
 	public static function getSureshotWinners(){
 		self::initializeDao();
 		return self::$dao->getSureshotWinners();
 	}
 }
 
?>
